package com.erp.erp_ui.money.vo;

import java.math.BigDecimal;

/**
 * @ClassName : PaymentVo
 * @Description : 首页付款出参实体
 * @Author : lst
 * @Date: 2021-01-04 15:06
 */
public class PaymentVo {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 付款单号
     */
    private String billNo;

    /**
     * 应付时间
     */
    private String time;

    /**
     * 付款类型(名称)
     */
    private String typeName;

    /**
     * 供应商账期
     */
    private String supplierAccountPeriod;

    /**
     * 供应商名称
     */
    private String supplierName;

    /**
     * 收款银行名称
     */
    private String bankName;

    /**
     * 收款银行账号
     */
    private String bankAccount;

    /**
     * 实付日期
     */
    private String actualPaymentDate;

    /**
     * 已分摊金额
     */
    private BigDecimal allocatedAmount;

    /**
     * 未分摊金额
     */
    private BigDecimal unallocatedAmount;

    /**
     * 币种
     */
    private String currency;

    /**
     * 人名币汇率
     */
    private BigDecimal rmbRate;

    /**
     * 美金汇率
     */
    private BigDecimal usdRate;

    /**
     * 付款金额
     */
    private BigDecimal amount;

    /**
     * 制单公司名称
     */
    private String companyName;

    /**
     * 操作员
     */
    private String operation;

    /**
     * 备注
     */
    private String memo;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getSupplierAccountPeriod() {
        return supplierAccountPeriod;
    }

    public void setSupplierAccountPeriod(String supplierAccountPeriod) {
        this.supplierAccountPeriod = supplierAccountPeriod;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getActualPaymentDate() {
        return actualPaymentDate;
    }

    public void setActualPaymentDate(String actualPaymentDate) {
        this.actualPaymentDate = actualPaymentDate;
    }

    public BigDecimal getAllocatedAmount() {
        return allocatedAmount;
    }

    public void setAllocatedAmount(BigDecimal allocatedAmount) {
        this.allocatedAmount = allocatedAmount;
    }

    public BigDecimal getUnallocatedAmount() {
        return unallocatedAmount;
    }

    public void setUnallocatedAmount(BigDecimal unallocatedAmount) {
        this.unallocatedAmount = unallocatedAmount;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public BigDecimal getRmbRate() {
        return rmbRate;
    }

    public void setRmbRate(BigDecimal rmbRate) {
        this.rmbRate = rmbRate;
    }

    public BigDecimal getUsdRate() {
        return usdRate;
    }

    public void setUsdRate(BigDecimal usdRate) {
        this.usdRate = usdRate;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PaymentVo").append('[')
                .append("id=")
                .append(id)
                .append(",billNo=")
                .append(billNo)
                .append(",time=")
                .append(time)
                .append(",typeName=")
                .append(typeName)
                .append(",supplierAccountPeriod=")
                .append(supplierAccountPeriod)
                .append(",supplierName=")
                .append(supplierName)
                .append(",bankName=")
                .append(bankName)
                .append(",bankAccount=")
                .append(bankAccount)
                .append(",actualPaymentDate=")
                .append(actualPaymentDate)
                .append(",allocatedAmount=")
                .append(allocatedAmount)
                .append(",unallocatedAmount=")
                .append(unallocatedAmount)
                .append(",currency=")
                .append(currency)
                .append(",rmbRate=")
                .append(rmbRate)
                .append(",usdRate=")
                .append(usdRate)
                .append(",amount=")
                .append(amount)
                .append(",companyName=")
                .append(companyName)
                .append(",operation=")
                .append(operation)
                .append(",memo=")
                .append(memo)
                .append(']');
        return sb.toString();
    }
}
